# -*- coding: utf-8; -*-
#
# dput/methods/http.py
# Part of ‘dput’, a Debian package upload toolkit.
#
# Copyright © 2015 Ben Finney <ben+python@benfinney.id.au>
# Copyright © 2007 Thomas Viehmann <tv@beamnet.de>
#
# This is free software: you may copy, modify, and/or distribute this work
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of that license or any later version.
# No warranty expressed or implied. See the file ‘LICENSE.GPL-2’ for details.

""" Implementation for HTTP upload method. """

from __future__ import absolute_import

from . import http


def upload(fqdn, login, incoming, files_to_upload, debug, dummy, progress=0):
    return http.upload(
            fqdn, login, incoming, files_to_upload, debug, dummy,
            progress, protocol="https")


# Local variables:
# coding: utf-8
# mode: python
# End:
# vim: fileencoding=utf-8 filetype=python :
